<form class="form-horizontal" action="itemSave" id="form-item" onsubmit="return false">
    <input type="hidden" name="id" value="${entity.id}" />
    <input type="hidden" name="dictKey" value="${RequestParameters.dictKey?html}" />
    <div class="form-group">
        <label for="dictLabel" class="col-sm-2 control-label">字典项标签</label>
        <div class="col-sm-6">
            <input class="form-control" name="dictLabel" id="dictLabel" placeholder="请输入字典项标签" type="text"
                required maxlength="20" value="${entity.dictLabel?html}"/>
        </div>
    </div>
    <div class="form-group">
        <label for="dictValue" class="col-sm-2 control-label">字典项值</label>
        <div class="col-sm-6">
            <input class="form-control" name="dictValue" id="dictValue" placeholder="请输入字典项值" type="text"
                required maxlength="20" value="${entity.dictValue?html}"/>
        </div>
    </div>
    <div class="form-group">
        <label for="sort" class="col-sm-2 control-label">排序</label>
        <div class="col-sm-6">
            <input class="form-control" name="sort" id="sort" placeholder="请输入字典项值" type="number"
                maxlength="5" value="${entity.sort}"/>
        </div>
    </div>
    <div class="form-group">
        <label for="notes" class="col-sm-2 control-label">备注</label>
        <div class="col-sm-10">
            <textarea class="form-control" name="notes" id="notes" placeholder="备注信息" >${entity.notes?html}</textarea>
        </div>
    </div>
</form>
<script type="text/javascript">
    dict.initItemForm();
</script>